package com.example.Mapper;

import com.example.Pojo.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {
    List<Course> list();

    void addCourse(Course course);

    void deleteCourse(Integer id);

    void updateCourse(Course course);
}
